package com.alibaba.sample.petstore.web.common.util;

import com.alibaba.sample.petstore.web.common.auth.PetstoreUser;
import com.alibaba.service.pull.PullException;
import com.alibaba.service.pull.PullTool;
import com.alibaba.service.pull.PullToolConfig;

public class PetstoreUserTool implements PullTool {
    public Object init(PullToolConfig config) throws PullException {
        return PetstoreUser.getCurrentUser();
    }
}
